#########################################################################
##
## This file is part of the SAMRAI distribution.  For full copyright 
## information, see COPYRIGHT and LICENSE. 
##
## Copyright:     (c) 1997-2019 Lawrence Livermore National Security, LLC
## Description:   makefile for testing parts of SAMRAI library 
##
#########################################################################

SAMRAI	      = @top_srcdir@
SRCDIR        = @srcdir@
OBJECT        = ../../..
SUBDIR        = source/test/clustering

SUBDIRS = async_br

default: check	

include $(OBJECT)/config/Makefile.config

library:

check:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

check2d:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

check3d:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

checkcompile:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@) || exit 1; done

checktest:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

examples:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

perf:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

everything:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@) || exit 1; done

clean:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done

checkclean:
	for DIR in $(SUBDIRS); do (cd $$DIR && $(MAKE) $@); done
